SmartCrawl\Controllers\Primary_Terms A

Total Complexity 56
Dependencies 4
Dependents 3
Total lines 441
Lines of code 221
Logical lines of code 103
Comment lines 151
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
get_post_taxonomies()
S
54 7 21
get_wds_primary_term()
S
57 7 15
post_link_category()
S
59 5 14
register_primary_category()
S
55 4 21
get_hierarchical_link()
S
61 4 12
save_primary_term()
S
56 3 20
register_assets()
S
59 3 16
sanitize_post_type_link()
S
62 3 11
get_primary_term()
S
59 2 15
get_post_terms()
S
67 3 8
is_supported_type()
S
74 2 4
is_current_post_supported()
S
72 2 5
should_run()
S
78 2 3
save_primary_terms()
S
71 2 6
post_type_link()
S
65 2 8
get_taxonomies_for_js()
S
62 1 12
init()
S
67 1 7
get_terms_for_js()
S
72 1 6
supported_types()
S
69 1 7
include_selection_template()
S
68 1 10